export const formList = [
    {
        label: '用户名',
        name: 'username',
        type: 'input',
        maxLength: 12,
        required: true,
        span: 12,
    },
    {
        label: '用户手机号',
        name: 'phone',
        type: 'input',
        maxLength: 11,
        required: true,
        span: 12,
    },
    {
        label: '收支名',
        name: 'name',
        type: 'input',
        maxLength: 12,
        required: true,
        span: 12,
    },
    {
        label: '分类',
        name: 'label',
        type: 'select',
        required: true,
        span: 12,
        options: [
            { value: 0, label: '支出' },
            { value: 1, label: '收入' },
        ],
    },
    {
        slot: 'type',
        span: 12,
        required: true,
    },
    {
        label: '价格',
        name: 'price',
        type: 'input',
        maxLength: 8,
        required: true,
        span: 12,
    },
    {
        label: '备注',
        name: 'notes',
        type: 'textArea',
        span: 24,
    },
]